﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace housingsafety.server.Models
{
    [Table("zm_sql")]
    public class ZmSql : Repository.IEntity
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [Key]
        [Column("id")]
        public string Id { get; set; }

        
        [Column("name")]
        [StringLength(255)]
        public string Name { get; set; }

        [Column("value")]
        [StringLength(255)]
        public string Value { get; set; }


        [Column("vv")]
        [StringLength(255)]
        public string Vv { get; set; }

        [Column("create_time")]
        public DateTime CreateTime { get; set; }
        [NotMapped]
        public DateTime CreateOn { get; set; }
        [NotMapped]
        public DateTime? ModifiedOn { get; set; }
        [NotMapped]
        public short? IsDelete { get; set; }
        [NotMapped]
        public DateTime? DeleteOn { get; set; }

    }
}
